<?php

class CommandeProxy implements iCommande
{
	private $objetReel;

	final public function execute($name) {
		print "\n";
		print __CLASS__." => Avant invocation d'execute sur \$objetReel";
		$this->objetReel->execute($name);
		print __CLASS__." => Apres invocation d'execute sur \$objetReel \n";
	}
	
	public function __construct() {
		$this->objetReel=new CommandeReel();	
	}
}
?>
